package com.enjoyor.soa.traffic.api.enums;

public enum RedisType {
	
	HASH("hash","哈希"),
	
	KEY("key","键值"),
	
	LIST("list","队列"),
	
	SET("set","集合"),
	
	SORTSET("sortset","有序集合");
	
	private final String key;

	private final String value;

	private RedisType(String key, String value) {
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return this.key;
	}

	public String getValue() {
		return this.value;
	}

	public String toString() {
		return this.name();
	}
}
